<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Đặng Khánh Trung
 * Date: 10/26/12
 * Time: 11:28 PM
 * To change this template use File | Settings | File Templates.
 */
// No direct access.
defined('_JEXEC') or die;

jimport('joomla.application.component.controllerform');

class VastControllerCauhinhs extends JControllerForm
{    
    /**
     * Constructor.
     *
     * @param    array    $config    An optional associative array of configuration settings.
     * @return    VastControllerCauhinhs
     * @see        JController
     * @since    2.5
     */
    public function __construct($config = array())
    {
        parent::__construct($config);
    }

	public function customEdit($key = null, $urlVar = null)
	{
		// Check for request forgeries
		JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
        
		$this->setRedirect(JRoute::_('index.php?option=' . $this->option . '&view=cauhinh', false));
	}
}